package com.codi.bus.core.vo;

import com.codi.base.domain.BaseDomain;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 模块名
 *
 * @author spy
 * @version 1.0 2017-11-30 13:57
 * @since 1.0
 */
@Data
@Accessors(chain = true)
public class BuyVo extends BaseDomain {

    @NotBlank
    private String payType;

    // 申购基金的
    @NotBlank
    private String     fundCode;
    @NotBlank
    private String     fundName;
    @NotNull
    private BigDecimal fundBalance;

    @NotNull
    private String tradeAcco;

    private Long    userId;
    private String  channelId;
    private Integer moneyType;

    // 赎回转购的基金，一般为t0
    private String orginFundCode;


    @NotBlank
    private String tradePassword;
    @NotBlank
    private String applyNo;



}
